package com.syni.mdd.sjb.common.datatreaure.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity.DxshAppNewsPush;
import com.syni.mdd.sjb.common.datatreaure.entity.vo.rq.dxshAppNews.SettingStatusVo;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lcc
 * @since 2020-09-25
 */
public interface DxshAppNewsPushService extends IService<DxshAppNewsPush> {

    String PUSH_TIME = "09:00~22:00";

    DxshAppNewsPush findByUserId(Integer userId);

    Map<String,Object> editPushTime(SettingStatusVo settingStatusVo);

    void addPushTime(String pushTime,Integer userId);

    boolean checkHavePush(Integer userId);
}
